package com.isoftstone.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.isoftstone.entity.Menu;

public interface MenuDao {
	public List<Menu> getAllMenuList();
	
	public List<Menu> getMenusByParentId();

	public boolean insertMenu(@Param("menuId")String menuId, @Param("menuName")String menuName, @Param("parentId")String parentId, @Param("menuUrl")String menuUrl);

	public boolean deleteMenu(@Param("menuId")String menuId);

	public Menu getMenuByMenuId(@Param("menuId")String menuId);

	public boolean editMenu(@Param("menuId")String menuId, @Param("menuName")String menuName, @Param("parentId")String parentId, @Param("menuUrl")String menuUrl);


}
